package com.crawler.waf.clientcache;


/**
 * 缓存策略枚举类
 */
public enum CachePolicy {
	
	
	NO_CACHE("no-cache"),
	
	
	NO_STORE("no-store"),
	
	MUST_REVALIDATE("must-revalidate"),
	
	
	PROXY_REVALIDATE("proxy-revalidate"),
	
	
	PRIVATE("private"),
	
	
	PUBLIC("public");
	
	private final String policy;
	
	
	CachePolicy() {
		this.policy = null;
	}
	
	
	CachePolicy(final String policy) {
		this.policy = policy;
	}
	
	public String policy() {
		return this.policy;
	}
}
